package com.deyuanyun.pic.pig.mapper;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.deyuanyun.pic.pig.domain.CleanPipeLineManagerVo;
import com.deyuanyun.pic.pig.domain.PigTaskPoint;
import com.deyuanyun.pic.pig.domain.PointVO;
import com.deyuanyun.pic.pig.domain.TrackPointExportVO;
import com.github.pagehelper.Page;

public interface PigTaskPointMapper {
    int deleteByPrimaryKey(String id);

    int insert(PigTaskPoint record);

    int insertSelective(PigTaskPoint record);

    PigTaskPoint selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(PigTaskPoint record);

    int updateByPrimaryKey(PigTaskPoint record);

	List getCleanPipeLineTrackIndex(CleanPipeLineManagerVo vo);

	List findByCondition(CleanPipeLineManagerVo taskVo);

	List<PigTaskPoint> getInspTaskPointByTaskId(Map<String, Object> map);

	CleanPipeLineManagerVo getPigByTaskId(String taskId);

	List<String> getGisByTaskId(String taskId);

	List<TrackPointExportVO> excelExport(Map<String, Object> map);
	
	List<HashMap> getMonito(Map param);
	
	List<HashMap> getMonitoGisPoint(Map param);

	List getPassPointByTaskId(String taskId);

	List getPointDetailByPointCode(Map<String, Object> praMap);

	double getPointMile(String id);

	double getFromPigMile(String taskId);
	
	//特征信息Mark信息表-Bill.Li
	Page<HashMap<String,Object>> getinsptaskPoint(HashMap<String, Object> map);

	List<PointVO> getTrackPointByTaskId(Map<String, Object> map);

	List<PointVO> getViewImg(Map<String, Object> praMap);
	/**
	 * 查询清管结果，用于在跟踪接收后，提示框上显示的内容
	 * @param taskId
	 * @return
	 */
	List findPigResultForDialog(String taskId);
}